﻿@{
    ViewBag.Title = "Treat";
    Layout = "~/Views/Shared/User.cshtml";
}

<style>
    table.treatTable
    {
        margin:auto;
    }
    table.treatTable th
    {
        vertical-align:top;
        text-align:right;
    }
</style>
<link href="@Url.Content("~/Content/elements/form.css")" rel="stylesheet" type="text/css" />
@*<link href="../../Content/elements/form.css" rel="stylesheet" type="text/css" />*@
<h2>治疗</h2>

<table class="treatTable">
    <tr>
        <th>主诉</th>
        <td><input type="text" class="longText" /></td>
    </tr>
    <tr>
        <th>主要症状</th>
        <td>
            <ul>
                <li>1<input type="text" class="longText" /></li>
                <li>2<input type="text" class="longText" /></li>
                <li>3<input type="text" class="longText" /></li>
            </ul>
        </td>
    </tr>
    <tr>
        <th>次要症状</th>
        <td>
            <ul>
                <li>1<input type="text" class="longText" /></li>
                <li>2<input type="text" class="longText" /></li>
                <li>3<input type="text" class="longText" /></li>
            </ul>
        </td>
    </tr>
    <tr>
        <th>舌脉相</th>
        <td>
            舌相<input type="text" class="middleText" />
            脉象<input type="text" class="middleText" />
        </td>
    </tr>
    <tr>
        <th>主症</th>
        <td>
            <ul>
                <li>1<input type="text" class="longText" /></li>
                <li>2<input type="text" class="longText" /></li>
                <li>3<input type="text" class="longText" /></li>
            </ul>
        </td>
    </tr>
    <tr>
        <th>次症</th>
        <td>
            <ul>
                <li>1<input type="text" class="longText" /></li>
                <li>2<input type="text" class="longText" /></li>
                <li>3<input type="text" class="longText" /></li>
            </ul>
        </td>
    </tr>
    <tr>
        <th>草药</th>
        <td>
            <textarea></textarea>
        </td>
    </tr>
    <tr>
        <th>中成药、中药注射液</th>
        <td>
            <input type="radio" />否
            <input type="radio" checked="checked" />是
            <table>
                <tr>
                    <th></th>
                    <th>起止时间</th>
                    <th>备注</th>
                </tr>
                @{for (int i = 0; i < 3; i++)
                  {
                <tr>
                    <td>
                        <input type="text" class="middleText" />
                    </td>
                    <td>
                        <input type="text" class="dateInput" value="2011/1/1" />
                        -<input type="text" class="dateInput" value="2011/1/1" />
                    </td>
                    <td>
                        <input type="text" class="longText" />
                    </td>
                </tr>
                  }
                } 
            </table>
        </td>
    </tr>
     <tr>
        <th>化疗</th>
        <td>
            <table>
                <tr>
                    <th>方案</th>
                    <th>起止日期</th>
                </tr>
                @{for (int i = 0; i < 3; i++)
                  {
                <tr>
                    <td><input type="text" class="shortText" /></td>
                    <td>
                        <input type="text" class="dateInput" value="2011/1/1" />
                        -<input type="text" class="dateInput" value="2011/1/1" />
                    </td>
                </tr>
                  }
                }
            </table>
            <input type="button" value="增加" />
        </td>
    </tr>
    <tr>
        <th>放疗</th>
        <td>
            <table>
                <tr>
                    <th>部位</th>
                    <th>剂量</th>
                    <th>次数</th>
                    <th>备注</th>
                </tr>
                <tr>
                    <td><input type="text" class="shortText" /></td>
                    <td><input type="text" class="valueInput" value="100" /></td>
                    <td><input type="text" class="valueInput" value="1" /></td>
                    <td><input type="text" class="longText" value="Test" /></td>
                </tr>
            </table>
            <input type="button" value="增加" />
        </td>
    </tr>
    <tr>
        <th>其他</th>
        <td>
            <table>
                <tr>
                    <th>名称</th>
                    <th>起止时间</th>
                </tr>
                @{for(int i=0;i<3;i++)
                  {
                <tr>
                    <td><input type="text" class="shortText" /></td>
                    <td>
                        <input type="text" class="dateInput" value="2011/1/1" />
                        -<input type="text" class="dateInput" value="2011/1/1" />
                    </td>
                </tr>
                  }
                }
            </table>
            <input type="button" value="增加" />
        </td>
    </tr>
</table>